home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 2010 Software/Programs / PCGuia_programas.iso / Software / Utils / Universal Viewer / UniversalViewer.exe / Plugins / Syn2 / HL / GoldParser.lcf < prev    next >
Encoding:
Text File  |  2007-12-12  |  6.3 KB  |  275 lines

  1. object SyntAnal25: TLibSyntAnalyzer
  2.   Formats = <
  3.     item
  4.       DisplayName = 'Default'
  5.       Font.Charset = DEFAULT_CHARSET
  6.       Font.Color = clWindowText
  7.       Font.Height = -13
  8.       Font.Name = 'Courier New'
  9.       Font.Style = []
  10.       FormatType = ftCustomFont
  11.     end
  12.     item
  13.       DisplayName = 'Marked block'
  14.       Font.Charset = DEFAULT_CHARSET
  15.       Font.Color = clHighlightText
  16.       Font.Height = -13
  17.       Font.Name = 'Courier New'
  18.       Font.Style = []
  19.       BgColor = clHighlight
  20.       FormatType = ftColor
  21.     end
  22.     item
  23.       DisplayName = 'Comment'
  24.       Font.Charset = DEFAULT_CHARSET
  25.       Font.Color = clRed
  26.       Font.Height = -13
  27.       Font.Name = 'Courier New'
  28.       Font.Style = [fsBold]
  29.     end
  30.     item
  31.       DisplayName = 'String'
  32.       Font.Charset = DEFAULT_CHARSET
  33.       Font.Color = clBlue
  34.       Font.Height = -13
  35.       Font.Name = 'Courier New'
  36.       Font.Style = [fsBold]
  37.     end
  38.     item
  39.       DisplayName = 'Symbol'
  40.       Font.Charset = DEFAULT_CHARSET
  41.       Font.Color = clNavy
  42.       Font.Height = -13
  43.       Font.Name = 'Courier New'
  44.       Font.Style = [fsBold]
  45.     end
  46.     item
  47.       DisplayName = 'Rules'
  48.       Font.Charset = DEFAULT_CHARSET
  49.       Font.Color = clWindowText
  50.       Font.Height = -13
  51.       Font.Name = 'Courier New'
  52.       Font.Style = [fsBold]
  53.       BorderColorLeft = clSilver
  54.       BorderColorTop = clSilver
  55.     end
  56.     item
  57.       DisplayName = 'Quoted terminals'
  58.       Font.Charset = DEFAULT_CHARSET
  59.       Font.Color = clBlue
  60.       Font.Height = -13
  61.       Font.Name = 'Courier New'
  62.       Font.Style = []
  63.     end
  64.     item
  65.       DisplayName = 'Terminals'
  66.       Font.Charset = DEFAULT_CHARSET
  67.       Font.Color = clMaroon
  68.       Font.Height = -13
  69.       Font.Name = 'Courier New'
  70.       Font.Style = []
  71.     end
  72.     item
  73.       DisplayName = 'CharSet'
  74.       Font.Charset = DEFAULT_CHARSET
  75.       Font.Color = clTeal
  76.       Font.Height = -13
  77.       Font.Name = 'Courier New'
  78.       Font.Style = []
  79.     end
  80.     item
  81.       DisplayName = 'CharSet Const'
  82.       Font.Charset = DEFAULT_CHARSET
  83.       Font.Color = clTeal
  84.       Font.Height = -13
  85.       Font.Name = 'Courier New'
  86.       Font.Style = [fsBold]
  87.     end
  88.     item
  89.       DisplayName = 'Tree Group'
  90.       Font.Charset = DEFAULT_CHARSET
  91.       Font.Color = clNavy
  92.       Font.Height = -13
  93.       Font.Name = 'Courier New'
  94.       Font.Style = [fsBold]
  95.     end>
  96.   TokenRules = <
  97.     item
  98.       DisplayName = 'Comment'
  99.       StyleName = 'Comment'
  100.       TokenType = 1
  101.       Expression = '^!.*$'#13#10
  102.       ColumnFrom = 0
  103.       ColumnTo = 0
  104.     end
  105.     item
  106.       DisplayName = 'String'
  107.       StyleName = 'String'
  108.       TokenType = 2
  109.       Expression = '".*?("|$)'#13#10
  110.       ColumnFrom = 0
  111.       ColumnTo = 0
  112.     end
  113.     item
  114.       DisplayName = 'Quoted terminals'
  115.       StyleName = 'Quoted terminals'
  116.       TokenType = 3
  117.       Expression = #39'.*?('#39'|$)'#13#10
  118.       ColumnFrom = 0
  119.       ColumnTo = 0
  120.     end
  121.     item
  122.       DisplayName = 'Terminals'
  123.       StyleName = 'Terminals'
  124.       TokenType = 3
  125.       Expression = '\w*'#13#10
  126.       ColumnFrom = 0
  127.       ColumnTo = 0
  128.     end
  129.     item
  130.       DisplayName = 'Rule assign'
  131.       StyleName = 'Symbol'
  132.       TokenType = 5
  133.       Expression = '::='#13#10
  134.       ColumnFrom = 0
  135.       ColumnTo = 0
  136.     end
  137.     item
  138.       DisplayName = 'Rule name'
  139.       StyleName = 'Rules'
  140.       TokenType = 4
  141.       Expression = '<.*?>'#13#10
  142.       ColumnFrom = 0
  143.       ColumnTo = 0
  144.     end
  145.     item
  146.       DisplayName = 'CharSet'
  147.       StyleName = 'CharSet'
  148.       TokenType = 7
  149.       Expression = '\{.*?(\}|$)'
  150.       ColumnFrom = 0
  151.       ColumnTo = 0
  152.     end
  153.     item
  154.       DisplayName = 'CharSet const'
  155.       StyleName = 'CharSet Const'
  156.       TokenType = 8
  157.       Expression = '\[.*?(\]|$)'
  158.       ColumnFrom = 0
  159.       ColumnTo = 0
  160.     end
  161.     item
  162.       DisplayName = 'Symbol'
  163.       StyleName = 'Symbol'
  164.       TokenType = 6
  165.       Expression = '[\|=\+\-\*\.]'#13#10
  166.       ColumnFrom = 0
  167.       ColumnTo = 0
  168.     end>
  169.   BlockRules = <
  170.     item
  171.       DisplayName = 'Header'
  172.       ConditionList = <
  173.         item
  174.           TagList.Strings = (
  175.             '=')
  176.           TokenTypes = 64
  177.         end
  178.         item
  179.           TokenTypes = 4
  180.         end>
  181.       NameFmt = '%s0'
  182.       GroupFmt = 'Header'
  183.       HighlightPos = cpAny
  184.       NoEndRule = True
  185.       TreeItemStyle = 'Quoted terminals'
  186.       TreeGroupStyle = 'Tree Group'
  187.       IgnoreAsParent = False
  188.     end
  189.     item
  190.       DisplayName = 'CharSets'
  191.       ConditionList = <
  192.         item
  193.           TagList.Strings = (
  194.             '=')
  195.           TokenTypes = 64
  196.         end
  197.         item
  198.           TokenTypes = 128
  199.         end>
  200.       NameFmt = '%s0'
  201.       GroupFmt = 'Sets'
  202.       HighlightPos = cpAny
  203.       NoEndRule = True
  204.       TreeItemStyle = 'CharSet'
  205.       TreeGroupStyle = 'Tree Group'
  206.       IgnoreAsParent = False
  207.     end
  208.     item
  209.       DisplayName = 'Terminals'
  210.       ConditionList = <
  211.         item
  212.           TagList.Strings = (
  213.             '=')
  214.           TokenTypes = 64
  215.         end
  216.         item
  217.           TokenTypes = 8
  218.         end>
  219.       NameFmt = '%s0'
  220.       GroupFmt = 'Terminals'
  221.       HighlightPos = cpAny
  222.       NoEndRule = True
  223.       TreeItemStyle = 'Terminals'
  224.       TreeGroupStyle = 'Tree Group'
  225.       IgnoreAsParent = False
  226.     end
  227.     item
  228.       DisplayName = 'Rule end'
  229.       BlockType = btRangeEnd
  230.       ConditionList = <
  231.         item
  232.           TokenTypes = 32
  233.         end>
  234.       BlockOffset = 2
  235.       HighlightPos = cpAny
  236.       IgnoreAsParent = False
  237.     end
  238.     item
  239.       DisplayName = 'Rule start'
  240.       ConditionList = <
  241.         item
  242.           TokenTypes = 32
  243.         end
  244.         item
  245.           TokenTypes = 16
  246.         end>
  247.       IdentIndex = 1
  248.       BlockOffset = 1
  249.       BlockEnd = 'Rule end'
  250.       EndOfTextClose = True
  251.       GroupFmt = 'Rules'
  252.       HighlightPos = cpAny
  253.       CollapseFmt = '%s1 ...'
  254.       TreeGroupStyle = 'Tree Group'
  255.       IgnoreAsParent = False
  256.     end>
  257.   CodeTemplates = <>
  258.   SubAnalyzers = <>
  259.   TokenTypeNames.Strings = (
  260.     'Unknown'
  261.     'Comment'
  262.     'String'
  263.     'Terminals'
  264.     'Rule'
  265.     'Rule assign'
  266.     'Symbol'
  267.     'CharSet'
  268.     'CharSet Const')
  269.   MarkedBlockStyle = 'Marked block'
  270.   DefaultStyleName = 'Default'
  271.   Extentions = 'grm'
  272.   LexerName = 'Gold Parser'
  273.   LineComment = '!'
  274. end
  275.